home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3387 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: hamlet.uncg.edu!q_zhong
  2. From: "QIAN . ZHONG" <q_zhong@hamlet.uncg.edu>
  3. Newsgroups: comp.lang.c
  4. Subject: What will happen close to 640K limit ?
  5. Date: Sun, 28 Jan 1996 11:18:58 -0500
  6. Organization: The University of North Carolina at Greensboro
  7. Message-ID: <Pine.SOL.3.91.960128110843.26154C-100000@hamlet.uncg.edu>
  8. NNTP-Posting-Host: hamlet.uncg.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11.  
  12.  
  13. Hi, folks:
  14.  
  15. I wrote a DOS program, with size about 512K, which is the size when I use
  16. dir to check it.
  17.  
  18. I also use dos command mem to check dos avaible memory, which gave me max
  19. execute file size 560k, because there are some device driver I load in 
  20. the config.sys, I knew 512k is not real program size, there are some 
  21. stack variable and memory allocated on heap.
  22.  
  23. Now my program is not stable, it can work for fine for couple days, then 
  24. it lock up. It may just lock up keyboard or screen, it may also reboot 
  25. PC, I wonder if because it close to 640 K limit ? How can I check the  real
  26. program size include stack size and heap ? 
  27.  
  28. Is PhLarp an easy package to go beyond 640 K ?
  29.  
  30. Thanks in advance, please send me mail.
  31.  
  32.  Qian Zhong
  33.  Department of Chemistry.
  34.  UNC, Greensboro
  35.  Email: q_zhong@hamlet.uncg.edu
  36.  
  37.  
  38.